package ch.areion.observator.server;

import ch.areion.common.message.Message;

/**
 * 
 * @author leupibr
 */
public interface ServerListener {
	/**
	 * Notifies about a new message
	 * @param msg The message received
	 */
	public void messageReceived(Message msg);

	/**
	 * Notifies about a new connected client
	 * @param client The client address
	 */
	public void clientConnected(String client);
	
	/**
	 * Notfies about a disconnected client.
	 */
	public void clientDisconnected();
}
